package com.alibam.core.wechat.pay;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@XmlRootElement(name = "xml")
public class PayBackResponse {
	private String return_code;
	private String return_msg;

	public PayBackResponse() {
	}

	public PayBackResponse(String return_code, String return_msg) {
		this.return_code = return_code;
		this.return_msg = return_msg;
	}

	@XmlElement(name = "return_code")
	public String getReturn_code() {
		return return_code;
	}

	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}

	@XmlElement(name = "return_msg")
	public String getReturn_msg() {
		return return_msg;
	}

	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}
	
	@XmlTransient
	public String[] getCDataNode() {
		String[] cDataNodes = {return_code , return_msg};
		return cDataNodes;
	}

}
